﻿<%@ Page Language="C#" MasterPageFile="~/MasterMockProject.Master" AutoEventWireup="true" CodeBehind="UpdateClient.aspx.cs" Inherits="MockProjectGroupThree.Presentation.ProfileManagement.UpdateClient" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMaster" runat="server">
    <div>
    <div class="CPFclient">
        <h3 class="CPFtitle">Update new client</h3>
        <div class="CPFclient-left">ClientId:</div>
        <div class="CPFclient-right"><asp:TextBox runat="server" Enabled="false" ID="textClientId" 
                Width="200px" />
         </div>
        <div class="CPFclient-left">UserName:</div>
        <div class="CPFclient-right"><asp:TextBox runat="server" ID="textUserName" 
                Width="200px" />
            <br />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="textUserName" ErrorMessage="Please enter username"></asp:RequiredFieldValidator>
                        </div>
        <div class="CPFclient-left">Company:</div>
        <div class="CPFclient-right"><asp:TextBox runat="server" ID="textCompany" 
                Width="199px"></asp:TextBox>
            <br />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="textCompany" ErrorMessage="Please enter company"></asp:RequiredFieldValidator>
                        </div>
        <div class="CPFclient-left">Address:</div>
        <div class="CPFclient-right"><asp:TextBox runat="server" ID="textAddress" 
                Width="199px"></asp:TextBox>
            <br />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="textAddress" ErrorMessage="Please enter address"></asp:RequiredFieldValidator>
                        </div>
        <div class="CPFclient-left">Phone Number:</div>
        <div class="CPFclient-right"><asp:TextBox runat="server" ID="textPhoneNumber" 
                Width="198px"></asp:TextBox>
            <br />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="textPhoneNumber" ErrorMessage="Please enter phonenumber"></asp:RequiredFieldValidator>
        </div>
        <div class="CPFclient-left">Email:</div>
        <div class="CPFclient-right"><asp:TextBox runat="server" ID="textEmail" Width="198px"></asp:TextBox>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                ControlToValidate="textEmail" ErrorMessage="Email format incorrec" 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            <br />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                ControlToValidate="textEmail" ErrorMessage="Please enter email"></asp:RequiredFieldValidator>
        </div>
        <div class="CPFclient-save">
            <asp:Button runat="server" ID="buttonSave" Text="Save" 
                Width="66px" onclick="buttonSave_Click" /></div>
        <div class="CPFclient-reset"><asp:Button runat="server" ID="buttonReset" Text="Reset" 
                Width="66px"/></div>
    </div>
</div>

</asp:Content>
